package com.info.zhiduoduo.admin.model.formbean.invoice;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class CrowdsourceCostInvoiceListFromBean {

	private String name;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startDate;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endDate;
	@ApiModelProperty("1:待开票 2：开票中 3：已开票")
	private int state;
	@ApiModelProperty("策略性开票列表 传 1 其他传0")
	private int strategy;

	@ApiModelProperty("操作人的managerid")
	private int managerid;

	@ApiModelProperty("自然人 1  创客 2 ")
	private int userType;

	@ApiModelProperty("企业名称")
	private String companyName;

	@ApiModelProperty("自然人名称/创客名称/工作室名称")
	private String userName;

	@ApiModelProperty("开始金额")
	private String startAmount;

	@ApiModelProperty("运营主体")
	private String operatingSubject;

	@ApiModelProperty("结束金额")
	private String endAmount;

	@ApiModelProperty("金额排序（desc或asc）")
	private String sort;
}
